#include "startbutton.h"
#include"config.h"
#include<QMouseEvent>
startbutton::startbutton()
{
  button.load(start_button);

      x=game_width/2-45;
      y=game_height*0.83;
  rect.setWidth(button.width());
  rect.setHeight(button.height());
  rect.moveTo(x,y);
}
